package com.quanyou.dao.domain;

import java.io.Serializable;

import com.quanyou.base.framework.dao.domain.LongDomain;

public class User extends LongDomain implements Serializable {
	
	private static final long serialVersionUID = 6565562888923585426L;
	
	private Long userCode;// 编码
	private String account;// 帐号
	private String password;// 密码
	private String userName;// 姓名
	private String pwdUpdateTime;// 密码修改时间,用于计算密码过期时间
	private Integer loginCount;// 登录次数
	private String lastLoginTime;// 最后登录时间
	private String loginIp;// 登录IP
	private String depName;// 部门名称
	private String position; // 职位
	private String idCard;// 身份证
	private String department_name;// 部门名包含上级部门
	private Long depId;// 部门ID
//	private List<Role> roles;
	private String searchKey;// 收索关键字
	public Long getUserCode() {
		return userCode;
	}
	public void setUserCode(Long userCode) {
		this.userCode = userCode;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPwdUpdateTime() {
		return pwdUpdateTime;
	}
	public void setPwdUpdateTime(String pwdUpdateTime) {
		this.pwdUpdateTime = pwdUpdateTime;
	}
	public Integer getLoginCount() {
		return loginCount;
	}
	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}
	public String getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getLoginIp() {
		return loginIp;
	}
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
	public String getDepName() {
		return depName;
	}
	public void setDepName(String depName) {
		this.depName = depName;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getDepartment_name() {
		return department_name;
	}
	public void setDepartment_name(String department_name) {
		this.department_name = department_name;
	}
	public Long getDepId() {
		return depId;
	}
	public void setDepId(Long depId) {
		this.depId = depId;
	}
	public String getSearchKey() {
		return searchKey;
	}
	public void setSearchKey(String searchKey) {
		this.searchKey = searchKey;
	}
	
}
